-
Notifications
You must be signed in to change notification settings - Fork 20.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: implement eip-7702 set code tx #30078
base: master
Are you sure you want to change the base?
Conversation
bc22287
to
95524bb
Compare
Should we propose another EIP to revamp EIP158? Otherwise, as we discussed previously, the leftover storage of an "empty" EOA could be cleared at the end of block. |
@rjl493456442 I think the proposal which will get accepted for devnet-2 and on will avoid the 158 problem, so it's probably okay to just let it play out. ethereum/EIPs#8677 |
ff4dba2
to
955384a
Compare
e3834ac
to
20ea148
Compare
94389ba
to
8578fb7
Compare
This comment was marked as resolved.
This comment was marked as resolved.
- prevent SetCodeTx in create mode (similar to blob tx) - move check for non-empty auth list to preCheck
…t application of all authorizations
…ecimal256 decoding
846d2b8
to
857641d
Compare
Rebased to fixed new conflicts. Should be good to go again 👍. |
func NewPragueEOFInstructionSetForTesting() JumpTable { | ||
return newPragueEOFInstructionSet() | ||
func NewEOFInstructionSetForTesting() JumpTable { | ||
return newEOFInstructionSetForTesting() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have an exported and unexported version of the same function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume because we added the testing function just to do fuzz testing, but didn't want to churn core geth code when we decide to delete it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to remove to consolidate it into the exported function if that's better. Just trying to retain what was there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exported is named "ForTesting" to signal that nobody should rely on it as official api. Fuzzing yes, and maybe also goevmlab
Building is failed |
618fcea
to
f3a427e
Compare
Fixed - PTAL. |
Spec: EIP-7702: Set EOA account code